﻿using System.Linq;
namespace MMS.Model
{
    public partial class Level
    {
        public Level ToPOCO(bool self)
        {
            return new Level()
            {
                LId = this.LId,
                LName = this.LName,
                LUpGradeAmount = this.LUpGradeAmount,
                LDiscount = this.LDiscount,
                LIntegralRatio = this.LIntegralRatio,
                LRemark = this.LRemark,
                LIsDel = this.LIsDel,
                MemberInfo = this.MemberInfo.Select(o=>o.ToPOCO()).ToList()
            };
        }
    }
}
